import { PanelLayoutDataProvider } from '../interface';
import { PanelData } from './panel-data';

/**
 * 面板布局项适配器
 *
 * @author chitanda
 * @date 2022-02-17 19:02:14
 * @export
 * @class PanelLayoutData
 * @extends {PanelData}
 */
export class PanelLayoutData extends PanelData implements PanelLayoutDataProvider {
  layout: 'absolute' | 'gird' | 'table' = 'gird';

  constructor(data: Record<string, any>) {
    super(data);
  }

  addChildren(): void {
    console.log('addChildren');
  }

  removeChildren(): void {
    console.log('removeChildren');
  }

  updateChildren(): void {
    console.log('updateChildren');
  }
}
